n = input()
n = int(n)
for i in range(n):
    a = ''
    for j in range(n - 1 - i):
        a += ' '
    for k in range(2 * i + 1):
        a += '*'
    print(a)
